package com.ylpms.agme.dao;

import com.ylpms.agme.entity.StationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StationDao {

    @Select("select V01000,CH_NAME from t_station_base where FIND_IN_SET(V01000,#{codes}) > 0")
    List<StationEntity> getStationsByCodes(@Param("codes")String codes);
}
